convert moore machine to mealy machine

visit shbcf.ru